package homework.homework_4.student;

/**
 * @author 朱
 * @date 2019032122:22
 */
public class CollegeStudent extends Student {
    public CollegeStudent(String name) {
        super("张三");
    }
    @Override
    public void calculateGrade() {
        for (int i = 0; i <courseNo ; i++) {
            courseGrade=courses[i]+courseGrade;
        }
    }
}
